package com.platform.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.platform.dao.ProcessingDao;
import com.platform.entity.ProcessingEntity;
import com.platform.service.ProcessingService;

/**
 * Service实现类
 *
 * @author liweihai
 * @email liweihai12345@sina.com
 * @date 2019-04-29 10:27:59
 */
@Service("processingService")
public class ProcessingServiceImpl implements ProcessingService {
    @Autowired
    private ProcessingDao processingDao;

    @Override
    public ProcessingEntity queryObject(Integer id) {
        return processingDao.queryObject(id);
    }

    @Override
    public List<ProcessingEntity> queryList(Map<String, Object> map) {
        return processingDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return processingDao.queryTotal(map);
    }

    @Override
    public int save(ProcessingEntity processing) {
        return processingDao.save(processing);
    }

    @Override
    public int update(ProcessingEntity processing) {
        return processingDao.update(processing);
    }

    @Override
    public int delete(Integer id) {
        return processingDao.delete(id);
    }

    @Override
    public int deleteBatch(Integer[] ids) {
        return processingDao.deleteBatch(ids);
    }
}
